#ifndef CUSTOMBUTTON_H
#define CUSTOMBUTTON_H

#include <qevent.h>
#include <qpushbutton.h>


class CustomButton : public QPushButton
{
    Q_OBJECT
public:
    CustomButton(QWidget *parent = 0);
protected:
    void mousePressEvent(QMouseEvent *event);
private:
    void onButtonCliecked();
};

#endif // CUSTOMBUTTON_H
